package com.ruoyi.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.api.vo.FenceInfo;

import java.util.List;

public interface FenceService {

    void add(FenceInfo fenceInfo);

    boolean delect(Integer fenceId);

    List<FenceInfo> select(FenceInfo fenceInfo);

    boolean update(FenceInfo fenceInfo);

    List<FenceInfo> selectAll();

    FenceInfo selectId(Integer fenceId);

    List<FenceInfo> selectPage(Integer page, Integer limit);

    Long selectCountPage();

}
